const request = require('../libs/request.js');
const videoService = {
  //视频列表
  getVideoList: (data) => {
    return request({
      url: "/video/list",
      data: data
    });
  },
  //视频详情
  getVideoDetail: (data) => {
    return request({
      url: "/video/detail",
      data: data
    });
  },
  //视频点赞
  getVideoCheckLike: (data) => {
    return request({
      url: "/video/checkLike",
      data: data
    });
  },
  //发布视频
  addVideo: (data) => {
    return request({
      url: "/video/add",
      data: data
    });
  },
}
module.exports = videoService;